package com.chinaunicom.behavior.state;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/8/22 14:37
 * Description:
 */
public class Client {

    public static void main(String[] args) throws InterruptedException {
        Document document = new Document();
        DraftState draftState = new DraftState(document);
        document.initState(draftState);


        System.out.println("start .....................");

        document.render();
        document.review();
        document.publish();
        document.review();

        System.out.println("-----------------------------");

    }
}
